/* css初始化 */
* {
    /* 清除内外边距 */
    margin: 0;
    padding: 0;
}

ul {
    /* 清除列表样式小点 */
    list-style: none;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    display: table;
    content: ""
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

a {
    color: #050505;
    text-decoration: none;
}

input {
    border: 0;
    /*所有表单边框=0*/
    box-sizing: border-box;
    /*css3盒子模型，border和padding都包含到width中*/
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* css初始化结束 */

body {
    background-color: #f3f5f7;
    /* 页面背景 */
}

/* 页面头部 */
header {
    height: 100px;
    overflow: hidden;
    /* 防止外边距合并 */
}

nav {
    width: 1366px;
    height: 42px;
    margin: 26px auto;
}

.logo {
    float: left;
    width: 199px;
    height: 46px;
    background: url(images/sprite.png) no-repeat;
}

/* 导航栏 */
.navbar {
    float: left;
    height: 42px;
    line-height: 42px;
    /* 行高给父亲，行高会继承 */
    margin-left: 50px;
}

.navbar li {
    float: left;
    /* 导航栏一行显示 */
}

.navbar li a {
    padding: 0 10px;
    /* 上下=0，左右=8 */
    display: block;
    /* a是行内元素，给高需要转为块级元素 */
    height: 42px;
}

.navbar li a:hover {
    /* 鼠标放入有底边框 */
    border-bottom: 2px solid #00a4ff;
}

/* 搜索框 */
.search {
    width: 410px;
    height: 38px;
    border: 1px solid #00a4ff;
    float: right;
}

.search input[type=text] {
    /* 属性选择器 */
    background-color: #f3f5f7;
    width: 360px;
    height: 38px;
    padding-left: 20px;
    float: left;
}

.search input[type=submit] {
    width: 50px;
    height: 38px;
    background-color: #00a4ff;
    float: left;
    background: #00a4ff url(images/search_06.png) center no-repeat;
}

/* 个人中心 */
.personal {
    float: right;
    height: 42px;
    line-height: 42px;
    margin: 0 15px 0 35px;
}

.personal img {
    margin: 0 8px;
    vertical-align: middle;
    /* 中线对齐 */
}

/* banner部分 */
.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner-in {
    height: 420px;
    background: url(images/banner_03.png) 0 0 no-repeat;
    position: relative;
}

/* 左侧导航栏 */
.slidebar {
    height: 420px;
    width: 190px;
    background: rgba(0, 0, 0, .3);
    float: left;
}

.slidebar li a {
    color: #fff;
    font-size: 14px;
    padding: 0 20px;
    /* a是行内元素，没有大小需要转换 */
    display: block;
    line-height: 45px;
    /*单行垂直居中，有行高不需要给高度*/
}

.slidebar li a:hover {
    color: #00a4ff;
}

.slidebar a span {
    float: right;
    font-family: Arial;
}

/* 右侧导航栏 */
.timetable {
    float: right;
    width: 230px;
    height: 300px;
    background-color: #fff;
    margin-top: 50px;
}

.timetable dt {
    height: 50px;
    line-height: 50px;
    background-color: #9BCEEA;
    color: #fff;
    font-weight: 700;
    /*文字加粗*/
    text-align: center;
    /*文字居中*/
    letter-spacing: 2px;
    /*字间距*/
    margin-bottom: 5px;
}

.timetable dd {
    width: 193px;
    height: 60px;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
    padding-top: 12px;
    box-sizing: border-box;
}

.timetable dd:last-child {
    /*结构伪类选择器，最后一个child*/
    border: 0;
}

.timetable dd h4 {
    font-size: 16px;
    font-weight: normal;
    /*让粗体不变粗*/
    color: #4e4e4e;
}

.timetable dd p {
    font-size: 14px;
    color: #a5a5a5;
}

.timetable dd a {
    height: 38px;
    border: 1px solid #00a4ff;
    display: block;
    text-align: center;
    line-height: 38px;
    color: #00a4ff;
    font-weight: 700;
    transition: all 0.5s;
    /*过渡*/
}

.timetable dd a:hover {
    background-color: #00a4ff;
    color: #fff;
}

/* 轮播 */
.circle {
    width: 180px;
    height: 22px;
    border-radius: 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -90px;
}

.circle .current {
    width: 19px;
    border-radius: 5px;
    background-color: #fff;
}

.circle li {
    float: left;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 6px 8px;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    /*鼠标形状：小手*/
}

/* 中部导航栏 */
.recomend {
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    margin-top: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    /*盒子阴影：水平位置，垂直位置，模糊距离，影子颜色*/
}

.recomend a {
    padding: 0 30px;
    border-right: 1px solid #ccc;
}

.recomend a:first-child {
    color: #00a4ff;
    font-weight: 700;
}

.recomend a:hover {
    color: #00a4ff;
}

.recomend a:last-child {
    color: #00a4ff;
    border: 0;
    float: right;
    font-size: 14px;
}

.recom-product {
    margin-top: 35px;
}

.recom-hd {
    height: 40px;
}

.recom-hd h4 {
    float: left;
    color: #494949;
}

.recom-hd a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    color: #a5a5a5;
    font-size: 14px;
}

.recom-hd a:hover {
    color: #00a4ff;
}

.recom-bd ul li {
    width: 228px;
    height: 270px;
    background-color: #fff;
    /* overflow: hidden; */
    /* 溢出隐藏 */
    float: left;
    margin-right: 15px;
    margin-top: 15px;
    position: relative;
    transition: all 0.2s;
}

.recom-bd ul li:hover{
    margin-top: 10px;
    box-shadow: 0 10px 5px rgba(0, 0, 0, .3);
}

.over {
    overflow: hidden;
}

.hot {
    width: 40px;
    height: 23px;
    background: url(images/sprite.png) no-repeat 0 -85px;
    position: absolute;
    right: -4px;
    top: 5px;
}

.recom-bd ul li:nth-child(5n) {
    margin-right: 0;
}

.recom-bd h5,
.recom-bd p {
    padding: 0 20px 0 24px;
    padding-top: 12px;
}

.recom-bd h5 {
    line-height: 22px;
    font-size: 14px;
    font-weight: normal;
}

.recom-bd p {
    font-size: 12px;
    color: #999;
}

.recom-bd p span {
    color: #ff7c2d;
}

footer {
    height: 270px;
    background-color: #fff;
    margin-top: 100px;
}

.footer-in {
    padding-top: 30px;
}

.footer-l {
    float: left;
}

.footer-l p {
    font-size: 12px;
    line-height: 18px;
    color: #999;
    margin-top: 20px;
}

.footer-l a {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    text-align: center;
    line-height: 33px;
    color: #00a4ff;
    margin-top: 15px;
    outline: 0;
}

.footer-r {
    float: right;
    color: #333;
}

.footer-r dl {
    float: left;
    width: 225px;
}

.footer-r dt {
    font-size: 16px;
    height: 30px;
}

.footer-r dd {
    font-size: 12px;
    height: 20px;
}

.footer-r dd a:hover {
    color: #00a4ff;
    text-decoration: underline;
}